package com.haircut.project.vo.salary;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Setter
@Getter
public class ApiSalaryConfirmVo {
    /**
     * 工资就不能为空
     */
    @NotNull(message = "工资记录不能为空")
    private String id;
    /**
     * 确认憋住不能为空
     */
    @NotBlank(message = "备注不能为空")
    @Length(max = 100,message = "备注不能超过100个字符")
    private String confirmRemark;
}
